home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 April / macformat-049.iso / mac / Demos / Print Artist Demo / PA12-Mac.Dxr / 00036.ls < prev    next >
Encoding:
Text File  |  1996-10-03  |  640 b   |  27 lines

  1. on exitFrame
  2.   global playMode, loadNext, mainPageWait, subPageWait
  3.   startTimer()
  4.   puppetSound(0)
  5.   if (playMode = "64KMemOK") or (playMode = "PPCMemOK") then
  6.     if loadNext = 0 then
  7.       nothing()
  8.     else
  9.       if loadNext = 1 then
  10.         unLoadCast()
  11.         preLoad(label("invite2") - 1, label("invite2") + 20)
  12.       end if
  13.     end if
  14.     if the timer < subPageWait then
  15.       wait(subPageWait - the timer)
  16.     end if
  17.     go(#next)
  18.   else
  19.     unLoadCast()
  20.     preLoad(label("invite2"), label("invite2"))
  21.     preLoad(label("invite2") + 20, label("invite2") + 20)
  22.     preLoad(member "Party1")
  23.     wait(30)
  24.     go(#next)
  25.   end if
  26. end
  27.